extends layout

block content
  div(ng-controller='HomeController')
    .index
      //h3 Button hits:{{hits}}
      //button(ng-click='registerHit()') Hit ME ,IF YOU DARE
      .login
        form(name="form" novalidate="novalidate")
          div.form-group
            label(for='username').col-sm-2.control-label.col-sm-offset-2 姓名
            .col-sm-8
              input(type='text' ng-model='user.name' ng-minlength='5' ng-maxlength='20' required)#username.form-control
            label(for='password').col-sm-2.control-label.col-sm-offset-2 密码
            .col-sm-8
              input(type='password' ng-model='user.password' ng-minlength='5' ng-maxlength='20' required)#password.form-control
              input(type='submit' value="确定" ng-click='submitFrom()')
